package com.hs.demo.controller;

import com.hs.demo.entity.MgDlcftzss;
import com.hs.demo.service.IMgDlcftzssService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

/**
 * 电炉成分调整速算Controller
 *
 * @author bysen
 * @date 2024-03-05
 */
@Controller
@RequestMapping("/api/mgdlcftzss")
public class MgDlcftzssController
{

    @Autowired
    private IMgDlcftzssService mgDlcftzssService;


    /**
     * 查询电炉成分调整速算列表
     */
    @RequestMapping("/list")
    @ResponseBody
    public Object list(MgDlcftzss mgDlcftzss)
    {
        List<MgDlcftzss> list = mgDlcftzssService.selectMgDlcftzssList(mgDlcftzss);
        return list;
    }
}
